﻿using System;

namespace Teigha.Core
{
	public enum OdResult
	{
		eOk,
		eMakeMeProxy,
		eInvalidDrawing,
		eNotImplementedYet,
		eNotApplicable,
		eInvalidInput,
		eInvalidFiler,
		eAmbiguousInput,
		eAmbiguousOutput,
		eOutOfMemory,
		eNoInterface,
		eBufferTooSmall,
		eInvalidOpenState,
		eUnsupportedMethod,
		eEntityInInactiveLayout,
		eDuplicateHandle,
		eNullHandle,
		eBrokenHandle,
		eUnknownHandle,
		eHandleInUse,
		eNullObjectPointer,
		eNullObjectId,
		eNullBlockName,
		eContainerNotEmpty,
		eNullEntityPointer,
		eIllegalEntityType,
		eKeyNotFound,
		eDuplicateKey,
		eInvalidIndex,
		eCharacterNotFound,
		eDuplicateIndex,
		eAlreadyInDb,
		eOutOfDisk,
		eDeletedEntry,
		eNegativeValueNotAllowed,
		eInvalidExtents,
		eInvalidAdsName,
		eInvalidSymbolTableName,
		eInvalidKey,
		eWrongObjectType,
		eWrongDatabase,
		eObjectToBeDeleted,
		eInvalidFileVersion,
		eAnonymousEntry,
		eIllegalReplacement,
		eEndOfObject,
		eEndOfFile,
		eFileExists,
		eCantOpenFile,
		eFileCloseError,
		eFileWriteError,
		eNoFileName,
		eFilerError,
		eFileAccessErr,
		eFileSystemErr,
		eFileInternalErr,
		eFileTooManyOpen,
		eFileNotFound,
		eUnknownFileType,
		eIsReading,
		eIsWriting,
		eNotOpenForRead,
		eNotOpenForWrite,
		eNotThatKindOfClass,
		eInvalidBlockName,
		eMissingDxfField,
		eDuplicateDxfField,
		eInvalidGroupCode,
		eInvalidResBuf,
		eBadDxfSequence,
		eInvalidRoundTripR14Data,
		eVertexAfterFace,
		eInvalidVertexIndex,
		eOtherObjectsBusy,
		eMustFirstAddBlockToDb,
		eCannotNestBlockDefs,
		eDwgRecoveredOK,
		eDwgNotRecoverable,
		eDxfPartiallyRead,
		eDxfReadAborted,
		eDxbPartiallyRead,
		eDwgCRCError,
		eDwgSentinelDoesNotMatch,
		eDwgObjectImproperlyRead,
		eNoInputFiler,
		eDwgNeedsAFullSave,
		eDxbReadAborted,
		eDwkLockFileFound,
		eWasErased,
		ePermanentlyErased,
		eWasOpenForRead,
		eWasOpenForWrite,
		eWasOpenForUndo,
		eWasNotifying,
		eWasOpenForNotify,
		eOnLockedLayer,
		eMustOpenThruOwner,
		eSubentitiesStillOpen,
		eAtMaxReaders,
		eIsWriteProtected,
		eIsXRefObject,
		eNotAnEntity,
		eHadMultipleReaders,
		eInvalidBlkRecordName,
		eDuplicateRecordName,
		eNotXrefBlock,
		eEmptyRecordName,
		eXRefDependent,
		eSelfReference,
		eMissingSymbolTable,
		eMissingSymbolTableRec,
		eWasNotOpenForWrite,
		eCloseWasNotifying,
		eCloseModifyAborted,
		eClosePartialFailure,
		eCloseFailObjectDamaged,
		eCannotBeErasedByCaller,
		eCannotBeResurrected,
		eInsertAfter,
		eFixedAllErrors,
		eLeftErrorsUnfixed,
		eUnrecoverableErrors,
		eNoDatabase,
		eXdataSizeExceeded,
		eCannotSaveHatchRoundtrip,
		eHatchHasInconsistentPatParams,
		eRegappIdNotFound,
		eRepeatEntity,
		eRecordNotInTable,
		eIteratorDone,
		eNullIterator,
		eNotInBlock,
		eOwnerNotInDatabase,
		eOwnerNotOpenForRead,
		eOwnerNotOpenForWrite,
		eExplodeBeforeTransform,
		eCannotScaleNonOrtho,
		eCannotScaleNonUniformly,
		eNotInDatabase,
		eNotCurrentDatabase,
		eIsAnEntity,
		eCannotChangeActiveViewport,
		eNotInPaperspace,
		eCommandWasInProgress,
		eGeneralModelingFailure,
		eOutOfRange,
		eNonCoplanarGeometry,
		eDegenerateGeometry,
		eInvalidAxis,
		ePointNotOnEntity,
		eSingularPoint,
		eInvalidOffset,
		eNonPlanarEntity,
		eCannotExplodeEntity,
		eStringTooLong,
		eInvalidSymTableFlag,
		eUndefinedLineType,
		eInvalidTextStyle,
		eTooFewLineTypeElements,
		eTooManyLineTypeElements,
		eExcessiveItemCount,
		eIgnoredLinetypeRedef,
		eBadUCS,
		eBadPaperspaceView,
		eSomeInputDataLeftUnread,
		eNoInternalSpace,
		eInvalidDimStyle,
		eInvalidLayer,
		eInvalidMlineStyle,
		eDwgNeedsRecovery,
		eRecoveryFailed,
		eDeleteEntity,
		eInvalidFix,
		eBadLayerName,
		eLayerGroupCodeMissing,
		eBadColor,
		eBadColorIndex,
		eBadLinetypeName,
		eBadLinetypeScale,
		eBadVisibilityValue,
		eProperClassSeparatorExpected,
		eBadLineWeightValue,
		ePagerError,
		eOutOfPagerMemory,
		ePagerWriteError,
		eWasNotForwarding,
		eInvalidIdMap,
		eInvalidOwnerObject,
		eOwnerNotSet,
		eWrongSubentityType,
		eTooManyVertices,
		eTooFewVertices,
		eNoActiveTransactions,
		eTransactionIsActive,
		eNotTopTransaction,
		eTransactionOpenWhileCommandEnded,
		eInProcessOfCommitting,
		eNotNewlyCreated,
		eLongTransReferenceError,
		eNoWorkSet,
		eAlreadyInGroup,
		eNotInGroup,
		eBadDwgFile,
		eInvalidREFIID,
		eInvalidNormal,
		eInvalidStyle,
		eCannotRestoreFromAcisFile,
		eEmptyAcisFile,
		eNLSFileNotAvailable,
		eNotAllowedForThisProxy,
		eNotSupportedInDwgApi,
		ePolyWidthLost,
		eNullExtents,
		eExplodeAgain,
		eBadDwgHeader,
		eLockViolation,
		eLockConflict,
		eDatabaseObjectsOpen,
		eLockChangeInProgress,
		eVetoed,
		eNoDocument,
		eNotFromThisDocument,
		eLISPActive,
		eTargetDocNotQuiescent,
		eDocumentSwitchDisabled,
		eInvalidContext,
		eCreateFailed,
		eCreateInvalidName,
		eSetFailed,
		eDelDoesNotExist,
		eDelIsModelSpace,
		eDelLastLayout,
		eDelUnableToSetCurrent,
		eDelUnableToFind,
		eRenameDoesNotExist,
		eRenameIsModelSpace,
		eRenameInvalidLayoutName,
		eRenameLayoutAlreadyExists,
		eRenameInvalidName,
		eCopyDoesNotExist,
		eCopyIsModelSpace,
		eCopyFailed,
		eCopyInvalidName,
		eCopyNameExists,
		eProfileDoesNotExist,
		eInvalidProfileName,
		eProfileIsInUse,
		eRegistryAccessError,
		eRegistryCreateError,
		eBadDxfFile,
		eUnknownDxfFileFormat,
		eMissingDxfSection,
		eInvalidDxfSectionName,
		eNotDxfHeaderGroupCode,
		eUndefinedDxfGroupCode,
		eNotInitializedYet,
		eInvalidDxf2dPoint,
		eInvalidDxf3dPoint,
		eBadlyNestedAppData,
		eIncompleteBlockDefinition,
		eIncompleteComplexObject,
		eBlockDefInEntitySection,
		eNoBlockBegin,
		eDuplicateLayerName,
		eBadPlotStyleName,
		eDuplicateBlockName,
		eBadPlotStyleType,
		eBadPlotStyleNameHandle,
		eUndefineShapeName,
		eDuplicateBlockDefinition,
		eMissingBlockName,
		eBinaryDataSizeExceeded,
		eObjectIsReferenced,
		eInvalidThumbnailBitmap,
		eGuidNoAddress,
		eMustBe0to2,
		eMustBe0to3,
		eMustBe0to4,
		eMustBe0to5,
		eMustBe0to8,
		eMustBe1to8,
		eMustBe1to15,
		eMustBePositive,
		eMustBeNonNegative,
		eMustBeNonZero,
		eMustBe1to6,
		eNoPlotStyleTranslationTable,
		ePlotStyleInColorDependentMode,
		eMaxLayouts,
		eNoClassId,
		eUndoOperationNotAvailable,
		eUndoNoGroupBegin,
		eHatchTooDense,
		eOpenFileCancelled,
		eNotHandled,
		eLibIntegrityBroken,
		eAlreadyActive,
		eAlreadyInactive,
		eCodepageNotFound,
		eIncorrectInitFileVersion,
		eInternalFreetypeError,
		eNoUCSPresent,
		eBadObjType,
		eBadProtocolExtension,
		eHatchInvalidPatternName,
		eNotTransactionResident,
		eDwgFileIsEncrypted,
		eInvalidPassword,
		eDecryptionError,
		eArithmeticOverflow,
		eSkipObjPaging,
		eStopPaging,
		eInvalidDimStyleResBufData,
		eExtendedError,
		eGripOpFailure,
		eGripOpNoRedrawGrip,
		eGripOpGripHotToWarm,
		eGripOpGetNewGripPoints,
		eUnsupportedEarlyDwgVersion,
		eCannotChangeColumnType,
		eCustomSizeNotPossible,
		eDataLinkAdapterNotFound,
		eDataLinkBadConnectionString,
		eDataLinkConnectionFailed,
		eDataLinkInvalidAdapterId,
		eDataLinkNotFound,
		eDataLinkNotUpdatedYet,
		eDataLinkOtherError,
		eDataLinkSourceIsWriteProtected,
		eDataLinkSourceNotFound,
		eDeviceNotFound,
		eDwgCrcDoesNotMatch,
		eDwgShareDemandLoad,
		eDwgShareReadAccess,
		eDwgShareWriteAccess,
		eFileMissingSections,
		eFileSharingViolation,
		eFiniteStateMachineError,
		eGraphicsNotGenerated,
		eHandleExists,
		eIgnoredLinetypeRedefinition,
		eIncompatiblePlotSettings,
		eInternetBadPath,
		eInternetBase,
		eInternetCreateInternetSessionFailed,
		eInternetDirectoryFull,
		eInternetDiskFull,
		eInternetFileAccessDenied,
		eInternetFileGenericError,
		eInternetFileNotFound,
		eInternetFileOpenFailed,
		eInternetGenericException,
		eInternetHardwareError,
		eInternetHttpAccessDenied,
		eInternetHttpBadGateway,
		eInternetHttpBadMethod,
		eInternetHttpBadRequest,
		eInternetHttpConflict,
		eInternetHttpGatewayTimeout,
		eInternetHttpLengthRequired,
		eInternetHttpNoAcceptableResponse,
		eInternetHttpNotSupported,
		eInternetHttpObjectNotFound,
		eInternetHttpOpenRequestFailed,
		eInternetHttpPaymentRequired,
		eInternetHttpPreconditionFailure,
		eInternetHttpProxyAuthorizationRequired,
		eInternetHttpRequestForbidden,
		eInternetHttpRequestTooLarge,
		eInternetHttpResourceGone,
		eInternetHttpServerError,
		eInternetHttpServiceUnavailable,
		eInternetHttpTimedOut,
		eInternetHttpUnsupportedMedia,
		eInternetHttpUriTooLong,
		eInternetHttpVersionNotSupported,
		eInternetInCache,
		eInternetInternetError,
		eInternetInternetSessionConnectFailed,
		eInternetInternetSessionOpenFailed,
		eInternetInvalidAccessType,
		eInternetInvalidFileHandle,
		eInternetNoInternetSupport,
		eInternetNotAnUrl,
		eInternetNotImplemented,
		eInternetNoWinInternet,
		eInternetOK,
		eInternetOldWinInternet,
		eInternetProtocolNotSupported,
		eInternetSharingViolation,
		eInternetTooManyOpenFiles,
		eInternetUnknownError,
		eInternetUserCancelledTransfer,
		eInternetValidUrl,
		eInvalidEngineState,
		eInvalidFaceVertexIndex,
		eInvalidFileExtension,
		eInvalidMeshVertexIndex,
		eInvalidObjectId,
		eInvalidPlotArea,
		eInvalidPlotInfo,
		eInvalidView,
		eInvalidWindowArea,
		eInvalidXrefObjectId,
		eLayoutNotCurrent,
		eMakeMeProxyAndResurrect,
		eMustPlotToFile,
		eCannotPlotToFile,
		eNoCurrentConfig,
		eNoErrorHandler,
		eNoLabelBlock,
		eNoLayout,
		eNoMatchingMedia,
		eNonePlotDevice,
		eNoThumbnailBitmap,
		eNotMultiPageCapable,
		eNoViewAssociation,
		eNullPtr,
		eNumberOfCopiesNotSupported,
		eObsoleteFileFormat,
		ePageCancelled,
		ePlotAlreadyStarted,
		ePlotCancelled,
		eRepeatedDwgRead,
		eRowsMustMatchColumns,
		eSecErrorCipherNotSupported,
		eSecErrorComputingSignature,
		eSecErrorDecryptingData,
		eSecErrorEncryptingData,
		eSecErrorGeneratingTimestamp,
		eSecErrorReadingFile,
		eSecErrorWritingFile,
		eSecErrorWritingSignature,
		eSecInitializationFailure,
		eSecInvalidDigitalId,
		eLoadFailed,
		eSubSelectionSetEmpty,
		eUnableToGetLabelBlock,
		eUnableToGetViewAssociation,
		eUnableToRemoveAssociation,
		eUnableToSetLabelBlock,
		eUnableToSetViewAssociation,
		eUnableToSyncModelView,
		eUnsupportedFileFormat,
		eUserBreak,
		eWasNotErased,
		eWrongCellType,
		eTxError,
		eHiddenLayerNotAllowed,
		eInvalidLicense,
		eCryptProviderUnavailable,
		eDummyLastError
	}
}
